﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;

namespace BuddHa.Camera.Protcol.DH.Models
{
    public class TokenKeepAliveModel : BaseModel
    {
        public TokenKeepAliveModel() : base("/videoService/accounts/token/keepalive", EnumRequestMethod.Post)
        {

        }
    }

    public class TokenKeepAliveRequest
    {
        [JsonPropertyName("token")]
        public string Token { get; set; }
    }

    public class TokenKeepAliveResponse
    {
        [JsonPropertyName("code")]
        public int Code { get; set; }

        [JsonPropertyName("message")]
        public string Message { get; set; }
    }
}
